package com.qaml.mes.device.vo.eqp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Filename：HolidayApplyVO
 * @Author：zhangzhifeng
 * @Project：mes-device
 * @Date：2024/3/12 16:45
 */

@Data
@ApiModel(value = "HolidayApplyInfo", description = "休假申请列表")
public class HolidayApplyVO implements Serializable {

    private static final long serialVersionUID = -3953038236732233566L;


    /**
     * 申请单id
     */
    @ApiModelProperty(value = "申请单id")
    private String id;

    /**
     * 申请人(检保人)id
     */
    @ApiModelProperty(value = "申请人(检保人)id")
    private String userId;

    /**
     * 申请人(检保人)姓名
     */
    @ApiModelProperty(value = "申请人(检保人)姓名")
    private String userName;

    /**
     * 类型  点检  保养
     */
    @ApiModelProperty(value = "类型 ")
    private String type;

    /**
     * 开始时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    Date endTime;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    String status;

    /**
     * 提交时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "提交时间")
    Date commitTime;

    /**
     * 审核人
     */
    @ApiModelProperty(value = "审核人")
    String recheckUserId;

    /**
     * 审核人姓名
     */
    @ApiModelProperty(value = "审核人姓名")
    String recheckUserName;

    /**
     * 审核时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    Date recheckTime;


    /**
     * 是否可复核
     */
    @ApiModelProperty(value = "是否可复核")
    private Boolean canRecheck = Boolean.FALSE;
}